<!DOCTYPE html>
<!-- saved from url=(0037)http://w.weipaitang.com/my/attentions -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="format-detection" content="telephone=no">
<link href="<?php echo TEMPLATE_SITE_URL;?>/css/common.css" type="text/css" rel="stylesheet">
<link href="<?php echo TEMPLATE_SITE_URL;?>/css/focus.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL;?>/js/zepto.js" charset="utf-8"></script>
<title><?php echo $output['site_name']?>我关注的</title>
</head>
<body>
<div id="contentbox">
  <div class="friendsMain">
	
  </div>
</div>
<input type="hidden" name="pagenum" value="0" id="pagenum">
<input type="hidden" name="haspage" value="1" id="haspage">
<div class="loadNextPage" style="margin-top:10px;color:#777;text-align:center;font-size:13px;display:none;">
	<div class="loading" style="width:100px;height:40px;margin-left:auto;margin-right:auto">
		<img src="<?php echo TEMPLATE_SITE_URL;?>/images/loadingData.gif" style="float:left">
		<span style="float:left;margin-top:10px;">加载拍卖</span>
	</div>
</div>
<script type="text/javascript">

$(function(){

    $(window).scroll(function () {
        var $body = $("body");
        if (($(window).height() + $(window).scrollTop()) >= $body.height()) {
	        var haspage = parseInt($('#haspage').val());
	        if(haspage=='0'){
				return false;
			}
    		var pagenum = parseInt($('#pagenum').val());
    		ajaxdata(pagenum);	
        }
    });

	function ajaxdata(pagenum){
		$.ajax({
			type:'get',
			url:'index.php?act=my&op=focus',
			data:{pagenum:pagenum},
			dataType:'html',
			success:function(html){
				$('.loadNextPage').hide();
				if(html==''){
					$('#haspage').val('0');
				}else{						
					$('#pagenum').val(eval(pagenum+1));
					$('.friendsMain').append(html);
				}						
			},
			beforeSend:function(){
				$('.loadNextPage').show();
			}
		});
	}

	ajaxdata(0);
	
});

</script>

<?php include template('home/nav');?>
</body>
</html>
